package com.it.emall.service;

import com.it.emall.domain.AdminUser;
import com.it.emall.domain.Comments;

import java.util.List;

/**
 * 后台service接口
 */
public interface AdminUserService {

    AdminUser login(String username);

    AdminUser selectUserById(Integer id);

    // 修改用户信息
    int updateUserInfo(AdminUser adminUser);

    //用户注册
    int register(AdminUser adminUser);
    List<Comments> selectCommentsById(Integer userId);
}
